<!DOCTYPE html>
<html style="background-color: #F2F2F2">
    <head>
        <title>404 page not found</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="/layui/dist/css/layui.css" />
    </head>
    <body>
        <div class="layui-container" style="margin-top: 100px; width: 400px; padding: 0 0 10px 0; background-color: #fff;">
            <h3 style="background-color: #2F4056; padding: 8px 0; text-align: center; font-size: 20px; color: #F0F0F0;">页面发生错误</h3>
            <div style="padding: 20px; font-size: 14px;">
                <i class="layui-icon" style="font-size: 30px; color: #FF5722;">&#xe69c;</i> 
                <?php if ($message): ?>
                <?=$message?>
                <?php else: ?>
                没有找到页面, 请检查链接地址是否输入正确。
                <?php endif; ?>
            </div>
            <div style="text-align: center; margin: 5px 0;">
                <?php if ($returnUrl): ?>
                <a href="<?=$returnUrl?>" class="layui-btn layui-btn-primary">返回</a>
                <?php else: ?>
                <a href="/" class="layui-btn layui-btn-primary">返回</a>
                <?php endif; ?>
            </div>
        </div>
    </body>
</html>
